package cn.stylefeng.guns.modular.comm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 微信用户信息
 * </p>
 *
 * @author 
 * @since 2021-01-30
 */
@TableName("comm_wx_user")
public class WxUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("nickName")
    private String nickName;

    @TableField("gender")
    private Integer gender;

    @TableField("language")
    private String language;

    @TableField("city")
    private String city;

    @TableField("province")
    private String province;

    @TableField("country")
    private String country;

    @TableField("avatarUrl")
    private String avatarUrl;

    @TableField("openId")
    private String openId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    @Override
    public String toString() {
        return "WxUser{" +
        "id=" + id +
        ", nickName=" + nickName +
        ", gender=" + gender +
        ", language=" + language +
        ", city=" + city +
        ", province=" + province +
        ", country=" + country +
        ", avatarUrl=" + avatarUrl +
        ", openId=" + openId +
        "}";
    }
}
